home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15607 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: news2.ios.com!usenet
  2. From: vlad@gramercy.ios.com (Vlastimil Adamovsky)
  3. Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
  4. Subject: Re: Will Java kill C++?
  5. Date: Sat, 06 Apr 1996 05:44:20 GMT
  6. Organization: Internet Online Services
  7. Message-ID: <4k5009$2a6@news2.ios.com>
  8. References: <3134D499.653E@ix.netcom.com> <313613B2.136E@ksopk.sprint.com> <4i7qhl$ik6@cronkite.seas.gwu.edu> <4iuhi7$fmf@sundog.tiac.net> <4iumap$mn5@hustle.rahul.net> <31582A45.3742@vmark.com> <3163C031.4FB1@esec.ch> <3164888D.2B01@concentric.net>
  9. NNTP-Posting-Host: ppp-32.ts-7.hck.idt.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. "Alan L. Lovejoy" <alovejoy@concentric.net> wrote:
  13.  
  14. >Oliver Plohmann wrote:
  15. >> 
  16. >Bzzzt!  Not according to the benchmarks I've done.  Go benchmark the factorial or fibonacci 
  17. >functions (implemented recursively) in both C and a good Smalltalk.  You are in for a big
  18. >surprise.  The problem is NOT that message sends are slower than function calls
  19. When I was on some interviews, the local company experts tried to
  20. convince me that the message sends are the same as function calls. 
  21. I am happy that at least somebody disagree with them, too.
  22.  
  23. >2) Much processing/data twiddling can be done by direct access into array and
  24. >structure internals without the necessity of calling functions or sending messages.
  25. That's what OO programming is not supposed to do. But I happily
  26. violate all OO rules if I can get my program run more effeciently.
  27.  
  28.  
  29.  
  30. *******************************************
  31. *    Vlastimil Adamovsky                  *
  32. * Smalltalk, C++ and Envelop development  *
  33. *******************************************
  34.  
  35.